package com.avocado.bt.impl.conatext;

import com.avocado.bt.IBTContext;
import com.avocado.mock.Player;

import java.util.HashMap;
import java.util.Map;

/**
 * @author avocado
 * @date 2023/10/16 21:53
 */
public class DefaultBtContext implements IBTContext {

    private Map<String, Object> map = new HashMap<>();
    private Player player;

    @Override
    public Player getPlayer() {
        return player;
    }

    public void setPlayer(Player player) {
        this.player = player;
    }

    public Map<String, Object> getMap() {
        return map;
    }

    public void setMap(Map<String, Object> map) {
        this.map = map;
    }
}
